package com.sff.webservice.events {
	
	import flash.events.Event;
	
	public class OperationEvent extends Event 	{	
		
		public static var RESULT	:String = "result";
		public static var FAILED	:String = "failed";
		
		private var strMethod:String;
		private var objData:Object;
		
		public function OperationEvent(type:String, method:String, data:Object = null, bubbles:Boolean=false, cancelable:Boolean=false) {
			super(type, bubbles, cancelable);
			
			strMethod = method;
			objData = data;
		}
		
		public function get method():String {
			return strMethod;
		}
		
		public function get data():Object {
			return objData;
		}
	}
}